
package com.google.code.lebar.bean.common;


public class Point3 implements Cloneable
{
    private Double x;
    private Double y;
    private Double z;
    
    @Override
    public Point3 clone()
    {
        return new Point3( getX(), getY(), getZ() );
    }
    
    public Point3( Double x, Double y, Double z )
    {
        this.x = x;
        this.y = y;
        this.z = z;
    }

    /**
     * @return the x
     */
    public Double getX()
    {
        return x;
    }

    /**
     * @return the y
     */
    public Double getY()
    {
        return y;
    }

    /**
     * @return the z
     */
    public Double getZ()
    {
        return z;
    }

    /**
     * @param x
     *            the x to set
     */
    public void setX( Double x )
    {
        this.x = x;
    }

    /**
     * @param y
     *            the y to set
     */
    public void setY( Double y )
    {
        this.y = y;
    }

    /**
     * @param z
     *            the z to set
     */
    public void setZ( Double z )
    {
        this.z = z;
    }
}
